package com.tengfei;

import java.util.Date;

/**
 * @version v1.0
 * @author} feige
 * @date 2021-10-25-8:06
 * @description
 */
public class Student {
    // 学号 (主键)
    private String stuNum;
    // 学生姓名
    private String stuName;
    // UID
    private String uid;
    // 电话号码
    private String phone;
    // 学院名
    private String insName;
    // 班级名
    private String className;
    // 性别 0:女 1:男
    private int sex;
    // 注册时间
    private Date regTime;
    // 密码
    private String password;

    public Student() {
    }

    public Student(String stuNum, String password) {
        this.stuNum = stuNum;
        this.password = password;
    }

    public Student(String stuNum, String stuName, String uid, String phone, String insName, String className, int sex, Date regTime) {
        this.stuNum = stuNum;
        this.stuName = stuName;
        this.uid = uid;
        this.phone = phone;
        this.insName = insName;
        this.className = className;
        this.sex = sex;
        this.regTime = regTime;
    }


    public String getStuNum() {
        return stuNum;
    }

    public void setStuNum(String stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getInsName() {
        return insName;
    }

    public void setInsName(String insName) {
        this.insName = insName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuNum=" + stuNum +
                ", stuName='" + stuName + '\'' +
                ", uid='" + uid + '\'' +
                ", phone='" + phone + '\'' +
                ", insName='" + insName + '\'' +
                ", className='" + className + '\'' +
                ", sex=" + sex +
                ", regTime='" + regTime + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
